{messages}
<table style="width:100%;" cellspacing="0" class="forumline">
<tr>
	<td class="row-header" colspan="2"><span>{language text="shut_down_site"}</span></td>
</tr>
<tr>
    <td class="catBottom tright" colspan="3">
    <form method="post" action="{url link='admin.config.options'}">
    	<b>{language text='Mod_Admin.currently_editing'}:</b>
    	<select name="url" onchange="this.form.submit();">
    	{foreach from=$aOptions item=aOption}
		<option value="{$aOption.url}"{if $aOption.selected} selected="true"{/if}>{$aOption.title}</option>
		{/foreach}
		</select>
	</form>
    </td>
</tr>
<form action="{url link='current'}" method="post">
<tr>
	<td class="row1" style="text-align:right;">
		{language text='Mod_Admin.shutdown_the_site'}:
	</td>
	<td class="row1">
		<select name="val[off]">
        	<option {if $bIsOff}selected="selected"{/if} value="1">{language text="yes"}</option>
            <option {if !$bIsOff}selected="selected"{/if} value="0">{language text="no"}</option>
		</select>
	</td>
</tr>
<tr>
	<td class="row1" style="text-align:right;">
		{language text='Mod_Admin.remove_header'}:
	</td>
	<td class="row1">
		<select name="val[header]">
        	<option {if getParam('shutdown_header')}selected="selected"{/if} value="1">{language text="yes"}</option>
            <option {if !getParam('shutdown_header')}selected="selected"{/if} value="0">{language text="no"}</option>
		</select>
	</td>
</tr>
<tr>
	<td class="row1" style="text-align:right;">
		{language text='Mod_Admin.allow_staff'}:
	</td>
	<td class="row1">
		<select name="val[allow_staff]">
        	<option {if $bAllowStaff}selected="selected"{/if} value="1">{language text="yes"}</option>
            <option {if !$bAllowStaff}selected="selected"{/if} value="0">{language text="no"}</option>
		</select>
	</td>
</tr>
<tr>
	<td class="row1" style="text-align:right;">
		{language text='Mod_Admin.offline_message'}:
	</td>
	<td class="row1">
		<textarea cols="60" rows="10" name="val[text]">{$sMessage}</textarea>
	</td>
</tr>
<tr>
	<td class="catBottom" colspan="2" style="text-align:center;">
		<input type="submit" name="go" value="{language text='update'}" />
	</td>
</tr>
</form>
</table>